package com.srs.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Dealerorder entity. @author MyEclipse Persistence Tools
 */

public class Dealerorder implements java.io.Serializable {

	// Fields

	private Integer dealerOrderId;
	private Dealer dealer;
	private String orderNumber;
	private Date certificateDate;
	private Set dealerorderdetailses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Dealerorder() {
	}

	/** minimal constructor */
	public Dealerorder(Dealer dealer, String orderNumber, Date certificateDate) {
		this.dealer = dealer;
		this.orderNumber = orderNumber;
		this.certificateDate = certificateDate;
	}

	/** full constructor */
	public Dealerorder(Dealer dealer, String orderNumber, Date certificateDate,
			Set dealerorderdetailses) {
		this.dealer = dealer;
		this.orderNumber = orderNumber;
		this.certificateDate = certificateDate;
		this.dealerorderdetailses = dealerorderdetailses;
	}

	// Property accessors

	public Integer getDealerOrderId() {
		return this.dealerOrderId;
	}

	public void setDealerOrderId(Integer dealerOrderId) {
		this.dealerOrderId = dealerOrderId;
	}

	public Dealer getDealer() {
		return this.dealer;
	}

	public void setDealer(Dealer dealer) {
		this.dealer = dealer;
	}

	public String getOrderNumber() {
		return this.orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public Date getCertificateDate() {
		return this.certificateDate;
	}

	public void setCertificateDate(Date certificateDate) {
		this.certificateDate = certificateDate;
	}

	public Set getDealerorderdetailses() {
		return this.dealerorderdetailses;
	}

	public void setDealerorderdetailses(Set dealerorderdetailses) {
		this.dealerorderdetailses = dealerorderdetailses;
	}

}